#define _CRT_SECURE_NO_WARNINGS 1
# include <stdio.h>

//计算y的值

int main()
{
	//输入
	int x = 0;
	int y = 0;
	scanf("%d", &x);
	//输出
	if (x > 0)
		y = -1;
	else if (x == 0)
		y = 0;
	else
		y = 1;
	printf("%d\n", y);

	return 0;
}